import unittest
from config.Config import *
from api.Api import Api


class Tj_Lm(unittest.TestCase):

    def test_tj_lm(self):
        api_ele = ['post',tj_lm,tj_lm_data,tj_lm_headers]
        Api().send_api(api_ele=api_ele)
        self.value = Api().api_json_assert()
        assert self.value['msg'] == '保存栏目失败，栏目目录已存在！'